<template>
  <div class="container-box">
    <el-row class="button-box">
      <el-button type="primary" size="medium" @click="onToChangePwd">帳戶設定</el-button>
    </el-row>
    <el-row class="button-box">
      <el-button type="success" size="medium" @click="onToCreate">專案創建</el-button>
    </el-row>
    <el-row class="button-box">
      <el-button type="info" size="medium" @click="onToManage">專案管理</el-button>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'netdisk',

  methods: {
    onToChangePwd() {
      this.$router.push({ path: '/account/accountIndex' })  // 跳转账户设定
    },

    onToCreate() {
      this.$router.push({ path: '/netdiskCase/createCase' })  // 跳转专案创建
    },

    onToManage() {
      this.$router.push({ path: '/user/userIndex' })  // 跳转专案管理
    },
  }
}
</script>

<style scoped lang="scss">
@import "../../assets/css/them.scss";
.container-box {
  .button-box {
    margin: 50px;
  }
}
</style>
